﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserOrderLog.aspx.cs" Inherits="bianzhuo.SupportPlatform.WebUI.BzBusiness.UserOrderLog" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>会员订单</title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <link href="css/msg_css.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="content">
            <ul class="breadcrumb"> 
     <li><div class="tem_img tem_l" title="关闭左侧菜单" id="closeleftframe" onclick="parent.document.getElementsByTagName('frameset')[1].cols = '0,*'; $('#closeleftframe').hide(); $('#openleftframe').show();"></div><div class="tem_img tem_r" title="展开左侧菜单"  id="openleftframe" onclick="parent.document.getElementsByTagName('frameset')[1].cols = '240,*';$('#closeleftframe').show();$('#openleftframe').hide();"></div></li>  
                <li><a href="#">首页</a> <span class="divider">/</span></li>
                <li class="active">会员订单</li>
            </ul>
            <div class="container">
                <div class="member_div">
                    <ul>
                        <li>
                            <div class="mem_dbg mem_dbg01 mem_dtmd"></div>
                            <div class="mem_dtit"><a class="mem_dta" href="UserCardModify.aspx?MicroId=<%=Request["MicroId"]%>">会员卡设置</a></div>
                        </li>
                        <li>
                            <div class="mem_dbg mem_dbg02 mem_dtmd"></div>
                            <div class="mem_dtit"><a class="mem_dta" href="MemberClassDefault.aspx?MicroId=<%=Request["MicroId"]%>">会员卡等级</a></div>
                        </li>
                        <li>
                            <div class="mem_dbg mem_dbg03  mem_dtmd"></div>
                            <div class="mem_dtit"><a class="mem_dta" href="MemberPackageDefault.aspx?MicroId=<%=Request["MicroId"]%>">会员卡套餐</a></div>
                        </li>
                        <li>
                            <div class="mem_dbg mem_dbg04  mem_dtmd"></div>
                            <div class="mem_dtit"><a class="mem_dta" href="MemberPromotionDefault.aspx?MicroId=<%=Request["MicroId"]%>">会员促销活动</a></div>
                        </li>
                        <li>
                            <div class="mem_dbg mem_dbg05"></div>
                            <div class="mem_dtit"><a class="mem_dth" href="UserInfoDefault.Aspx?MicroId=<%=Request["MicroId"]%>">会员管理</a></div>
                        </li>
                    </ul>
                </div>
                <div class="user_msg">
                    <div class="user_msg_l2">
                        <div class="msg_div4">
                            <div class="cpcx_r">
                                <select id="sltOrderType" runat="server" class="btn" onchange="this.form.submit()">
                                    <option value="">订单类型</option>
                                    <option value="1">餐饮订单</option>
                                    <option value="2">酒店订单</option>
                                    <option value="5">旅行社订单</option>
                                    <option value="3">景点订单</option>                                   
                                </select>
                                <input id="txtKeyword" runat="server" type="text" class="btn" placeholder="输入关键词" />
                                <button class="btn_small btn-03" type="submit">查询</button>
                            </div>
                        </div>
                        <asp:Repeater ID="listRechargeRepeater" runat="server">
                            <HeaderTemplate>
                                <div class="msg_div3">
                                    <ul>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <li><span><%#Eval("OrderCreateTime")%></span><font><%#Eval("OrderName")%></font><font><%#bianzhuo.SupportPlatform.BLL.OrderInfoBLL.GetOrderTypeName(Eval("OrderType").ToString())+"订单"%></font><h2><%#Convert.ToDecimal(Eval("OrderMoney")).ToString("C")%></h2>
                                    <h3><%#bianzhuo.SupportPlatform.SFL.EnmuByALLStatus.orderStatus(Eval("OrderStatus").ToString()) %></h3>
                                    <p><a href="#"><%#Eval("OrderNumber") %></a></p>
                                </li>
                            </ItemTemplate>
                            <FooterTemplate>
                                </ul>
                </div>
                            </FooterTemplate>
                        </asp:Repeater>

                    </div>
                    <div class="user_msg_r">
                        <div class="user_mrtop">会员详细资料</div>
                        <div class="user_listdet">
                            <ul>
                                <li class="user_libg_01"><a href='UserInfoView.Aspx?UserId=<%=Request["UserId"].ToString() %>&MicroId=<%=Request["MicroId"].ToString() %>' class="user_list_a">基本资料</a></li>
                                <li class="user_libg_02"><a href="MemberRecharge.aspx?UserId=<%=Request["UserId"].ToString() %>&MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_a">会员帐户<font>(<%=Convert.ToDouble(ViewUser.CardBalance).ToString("C") %>)</font></a></li>
                                <li class="user_libg_03"><a href="MemberPoint.aspx?UserId=<%=Request["UserId"].ToString() %>&MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_h">积分管理<font>(<%=ViewUser.CardPoints %>分)</font></a></li>
                                <li class="user_libg_06"><a href="MemberLevel.aspx?UserId=<%=Request["UserId"].ToString() %>&MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_a">会员等级<font>(<%=CardLevel.LevelName %>)</font></a></li>
                                <li class="user_libg_07"><a href="MemberPackage.aspx?UserId=<%=Request["UserId"].ToString() %>&MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_a">会员套餐<font>(<%=CardPackage !=null?CardPackage.PkgName:"" %>)</font></a></li>
                                <li class="user_libg_04"><a href="MemberPower.aspx?UserId=<%=Request["UserId"].ToString() %>&MicroId=<%=Request["MicroId"].ToString() %>" class="user_list_a">会员特权</a></li>
                                <li class="user_libg_05"><a href='UserOrderLog.Aspx?UserId=<%=Request["UserId"].ToString() %>&MicroId=<%=Request["MicroId"].ToString() %>' class="user_list_a">订单记录<font>(<%=OrderCount %>单)</font></a></li>

                            </ul>
                        </div>

                    </div>
                </div>

            </div>
            <div class="pagination">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页"
                    LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager1_PageChanged"
                    PrevPageText="上一页" PagingButtonSpacing="0">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </form>
</body>
</html>
